package com.mall.order.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "微信支付回调")
@Setter
@Getter
public class WechatPayDto {

	@ApiModelProperty(value = "订单号", required = true)
	@NotBlank(message = "订单号不能为空")
	private String orderSn;

	@ApiModelProperty(value = "支付金额", required = true)
	@NotBlank(message = "支付金额不能为空")
	private String fee;

	@ApiModelProperty(value = "交易号", required = true)
	@NotBlank(message = "交易号不能为空")
	private String tradeNo;

	@ApiModelProperty(value = "交易时间", required = true)
	@NotBlank(message = "交易时间不能为空")
	private String transactionTime;

}
